<%@page pageEncoding="UTF-8"%>
<%@include file="/view/common/prelude.jsp"%>
<!DOCTYPE html>
<html>
  <head>
    <%@ include file="/view/common/common-head.jsp"%>
    <%@ include file="/view/mobile/common/common-head.jsp"%>
    <title>ログイン</title>
  </head>
  <body>
    <div id="topPage" data-role="page">
      <div class="content" data-role="content">
        <ul class="errors"></ul>
        <form id="loginForm" action="/users/login" method="POST" data-ajax="false">
          <input type="hidden" id="deviceId" name="deviceId">
          <div data-role="fieldcontain">
            <label for="mailAddress">メールアドレス:</label>
            <input type="email" name="mailAddress" id="mailAddress" value=""  required/>
          </div>
          <div data-role="fieldcontain">
            <label for="password">パスワード:</label>
            <input type="password" name="password" id="password" value=""  required/>
          </div>
          <input type="submit" value="ログイン" id="loginButton">
        </form>
      </div>
    </div>
    <%@ include file="/view/common/common-foot.jsp"%>
    <%@ include file="/view/mobile/common/common-foot.jsp"%>
    <script src="${request.contextPath}/js/view/mobile/users/login.js"></script>
  </body>
</html>
